package cn.demo.um.domain;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.core.constant.SqlOperator;
import com.mybatisflex.core.query.SqlOperators;
import cn.demo.common.mybatisFlex.MyInsertListener;
import cn.demo.common.mybatisFlex.MyUpdateListener;
import cn.demo.common.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonIgnore;
import cn.demo.common.core.domain.BaseEntity;
/**
 * 用户关注列对象 um_user_focus
 *
 * @author xtjun
 * @date 2024-06-05
 */
@Data
@Table(value = "um_user_focus",onInsert = MyInsertListener.class,onUpdate = MyUpdateListener.class)
public class UmUserFocus {
    private static final long serialVersionUID = 1L;

    @Id
    @Schema(description = "用户ID")
    private String userId;

    @Id
    @Schema(description = "关注用户ID")
    private String focusId;

    public UmUserFocus() {

    }
    public UmUserFocus(String userId, String focusId) {
        this.userId = userId;
        this.focusId = focusId;
    }
}
